package service

import (
	"context"
	__ "mt-server/basic/proto"
	"mt-server/handler/model"
)

// 评价管理
func (s *Server) MerchantEvaluate(_ context.Context, in *__.MerchantEvaluateReq) (*__.MerchantEvaluateResp, error) {

	var me model.Evaluate
	me = model.Evaluate{
		MerchantId: me.MerchantId,
	}

	//err := me.MerchantEvaluate()
	//if err != nil {
	//	return nil, errors.New("评价查看失败")
	//}

	return &__.MerchantEvaluateResp{
		UserId:     1,
		Evaluate:   "好吃好吃好吃",
		GoodsId:    1,
		MerchantId: 1,
	}, nil
}
